.components-header {
    position: absolute;
    top: 0;
    height: 45px;
    background: var(--primary-theme-color);
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo {
    margin-left: 20px;
    width: 50px;
}

.caption {
    font-size: 16px;
    color: #fff;
}

.search-box {
    position: relative;
    margin-left: 40px;
}

.search-input {
    padding-left: 10px;
    color: #fff;
    background: rgba(0,0,0,0.2);
    width: 240px;
    height: 24px;
    line-height: 24px;
    white-space: nowrap;
    border-radius: 12px;
    outline: none;
    border: none;
    -webkit-appearance:none;
}

.search-box .icon-search {
    position: absolute;
    right: 5px;
    top: 2px;
    font-size: 18px;
    color: #fff;
}

/* placeholder color start */

.search-input::-webkit-input-placeholder {
    color: #fff;
}

.search-input::-moz-placeholder {
    color: #fff;
}

.search-input:-moz-placeholder {
    color: #fff;
}

.search-input:-ms-input-placeholder {
    color: #fff;
}

/* placeholder color end */

.search-item{
    list-style: none;
    color: #fff;
    padding: 0;
    margin:0 0 0 20px;
    display: inline-block;
}

.search-item li{
   float: left;
   margin-right: 10px;
   cursor: pointer;
}

.header-func{
    list-style: none;
    position: absolute;
    right: 20px;
    color: #fff;
    margin: 0;
    padding: 0;
}

.header-func li{
    cursor:pointer;
}

.header-func li .icon-pifu{
    font-size: 10px;
    margin-right: 4px;
}

.hide{
    display: none;
    animation-name: hide;
    animation-direction: 1s;
}
.show{
    display: block;
    animation-name: show;
    animation-direction: 1s;
}

@keyframes hide{
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}
@keyframes show{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}